<div id="navbar">
  <ul>
    <g:if test="${activeView == 'home'}">
      <li><g:link class="active" controller="user" action="home">Home</g:link></li>
    </g:if>
    <g:else>
      <li><g:link controller="user" action="home">Home</g:link></li>
    </g:else>
    <g:if test="${activeView == 'testsuites'}">
      <li><g:link class="active" controller="testSuite" action="list">Test Suites</g:link></li>
    </g:if>
    <g:else>
      <li><g:link controller="testSuite" action="list">Test Suites</g:link></li>
    </g:else>
    <g:if test="${activeView == 'testcases'}">
      <li><g:link class="active" controller="testRun" action="create">Test Cases</g:link></li>
    </g:if>
    <g:else>
      <li><g:link controller="testRun" action="create">Test Cases</g:link></li>
    </g:else>
    <g:if test="${activeView == 'running'}">
      <li><g:link class="active" controller="testRun" action="running">Running</g:link></li>
    </g:if>
    <g:else>
      <li><g:link controller="testRun" action="running">Running</g:link></li>
    </g:else>
    <g:if test="${activeView == 'instances'}">
      <li><g:link class="active" controller="instance" action="list">Instances</g:link></li>
    </g:if>
    <g:else>
      <li><g:link controller="instance" action="list">Instances</g:link></li>
    </g:else>
  </ul>
</div>
<div class="clear"></div>